package stu.khy.ssm.entity;

import java.util.Date;

public class AppInfo {
	/** 主键id */
 
    private int  id ;
    /** 软件名称 */
    private String softwarename ;
    /** APK名称（唯一） */
    private String  apkname ;
    /** 支持ROM */
    private String supportrom ;
    /** 界面语言 */
    private String interfacelanguage ;
    /** 软件大小（单位：M） */
    private Double softwaresize ;
    /** 更新日期 */
    private Date updatedate ;
    /** 开发者id（来源于：dev_user表的开发者id） */
    private int devid ;
    /** 应用简介 */
    private String appinfo ;
    /** 状态（来源于：data_dictionary，1 待审核 2 审核通过 3 审核不通过 4 已上架 5 已下架） */
    private int status ;
    /** 上架时间 */
    private Date onsaledate ;
    /** 下架时间 */
    private Date offsaledate ;
    /** 所属平台（来源于：data_dictionary，1 手机 2 平板 3 通用） */
    private int flatformid ;
    /** 所属三级分类（来源于：data_dictionary） */
    private int categorylevel3 ;
    /** 下载量（单位：次） */
    private int downloads ;
    /** 创建者（来源于dev_user开发者信息表的用户id） */
    private int createdby ;
    /** 创建时间 */
    private Date creationdate ;
    /** 更新者（来源于dev_user开发者信息表的用户id） */
    private int modifyby ;
    /** 最新更新时间 */
    private Date modifydate ;
    public AppInfo() {
		super();
	}
	public AppInfo(int id, String softwarename, String apkname, String supportrom, String interfacelanguage,
			Double softwaresize, Date updatedate, int devid, String appinfo, int status, Date onsaledate,
			Date offsaledate, int flatformid, int categorylevel3, int downloads, int createdby, Date creationdate,
			int modifyby, Date modifydate, int categorylevel1, int categorylevel2, String logopicpath,
			String logolocpath, int versionid) {
		super();
		this.id = id;
		this.softwarename = softwarename;
		this.apkname = apkname;
		this.supportrom = supportrom;
		this.interfacelanguage = interfacelanguage;
		this.softwaresize = softwaresize;
		this.updatedate = updatedate;
		this.devid = devid;
		this.appinfo = appinfo;
		this.status = status;
		this.onsaledate = onsaledate;
		this.offsaledate = offsaledate;
		this.flatformid = flatformid;
		this.categorylevel3 = categorylevel3;
		this.downloads = downloads;
		this.createdby = createdby;
		this.creationdate = creationdate;
		this.modifyby = modifyby;
		this.modifydate = modifydate;
		this.categorylevel1 = categorylevel1;
		this.categorylevel2 = categorylevel2;
		this.logopicpath = logopicpath;
		this.logolocpath = logolocpath;
		this.versionid = versionid;
	}
	@Override
	public String toString() {
		return "AppInfo [id=" + id + ", softwarename=" + softwarename + ", apkname=" + apkname + ", supportrom="
				+ supportrom + ", interfacelanguage=" + interfacelanguage + ", softwaresize=" + softwaresize
				+ ", updatedate=" + updatedate + ", devid=" + devid + ", appinfo=" + appinfo + ", status=" + status
				+ ", onsaledate=" + onsaledate + ", offsaledate=" + offsaledate + ", flatformid=" + flatformid
				+ ", categorylevel3=" + categorylevel3 + ", downloads=" + downloads + ", createdby=" + createdby
				+ ", creationdate=" + creationdate + ", modifyby=" + modifyby + ", modifydate=" + modifydate
				+ ", categorylevel1=" + categorylevel1 + ", categorylevel2=" + categorylevel2 + ", logopicpath="
				+ logopicpath + ", logolocpath=" + logolocpath + ", versionid=" + versionid + "]";
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setSoftwarename(String softwarename) {
		this.softwarename = softwarename;
	}
	public void setApkname(String apkname) {
		this.apkname = apkname;
	}
	public void setSupportrom(String supportrom) {
		this.supportrom = supportrom;
	}
	public void setInterfacelanguage(String interfacelanguage) {
		this.interfacelanguage = interfacelanguage;
	}
	public void setSoftwaresize(Double softwaresize) {
		this.softwaresize = softwaresize;
	}
	public void setUpdatedate(Date updatedate) {
		this.updatedate = updatedate;
	}
	public void setDevid(int devid) {
		this.devid = devid;
	}
	public void setAppinfo(String appinfo) {
		this.appinfo = appinfo;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public void setOnsaledate(Date onsaledate) {
		this.onsaledate = onsaledate;
	}
	public void setOffsaledate(Date offsaledate) {
		this.offsaledate = offsaledate;
	}
	public void setFlatformid(int flatformid) {
		this.flatformid = flatformid;
	}
	public void setCategorylevel3(int categorylevel3) {
		this.categorylevel3 = categorylevel3;
	}
	public void setDownloads(int downloads) {
		this.downloads = downloads;
	}
	public void setCreatedby(int createdby) {
		this.createdby = createdby;
	}
	public void setCreationdate(Date creationdate) {
		this.creationdate = creationdate;
	}
	public void setModifyby(int modifyby) {
		this.modifyby = modifyby;
	}
	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}
	public void setCategorylevel1(int categorylevel1) {
		this.categorylevel1 = categorylevel1;
	}
	public void setCategorylevel2(int categorylevel2) {
		this.categorylevel2 = categorylevel2;
	}
	public void setLogopicpath(String logopicpath) {
		this.logopicpath = logopicpath;
	}
	public void setLogolocpath(String logolocpath) {
		this.logolocpath = logolocpath;
	}
	public void setVersionid(int versionid) {
		this.versionid = versionid;
	}
	/** 所属一级分类（来源于：data_dictionary） */
    private int categorylevel1 ;
    /** 所属二级分类（来源于：data_dictionary） */
    private int categorylevel2 ;
    /** LOGO图片url路径 */
    private String logopicpath ;
    /** LOGO图片的服务器存储路径 */
    private String logolocpath ;
    /** 最新的版本id */
    private int versionid ;

}
